/**
 * @file      autolock.h
 * @copyright Copyright (c) 2020, ZCW Co., Ltd. All Rights Reserved.
 * @brief     brief
 * @author    caiwang213@qq.com
 * @date      2020-05-18 15:52:36
 *
 * @note
 *  autolock.h defines
 */
#ifndef __AUTOLOCK_H__
#define __AUTOLOCK_H__
#include "mutex.h"

namespace log4x
{
class AutoLock
{
    CLASS_NO_COPY(AutoLock)
public:
    AutoLock(Mutex &mutex);
    ~AutoLock();

private:
    Mutex & _mutex;
};
}
#endif
